package cn.brian.modular.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 【A07_用户表】实体类
 * 
 * @author 黄景华
 * @date 2018-03-21 04:24:27
 */
@TableName(value = "T_SYS_USER")
public class SysUser {

	private static final long serialVersionUID = 1L;

	@TableId(value = "USER_ID", type = IdType.INPUT)
	private String userId; // 用户ID

	@TableField(value = "USER_NAME")
	private String userName; // 用户姓名
	
	@TableField(value = "LOGIN_NAME")
	private String loginName; // 登陆名

	@TableField(value = "PASSWORD")
	private String password; // 密码

	@TableField(value = "SEX")
	private String sex; // 性别

	@TableField(value = "TEL")
	private String tel; // 手机号码

	@TableField(value = "HEAD_FILE_ID")
	private String headFileId; // 头像文件ID

	@TableField(value = "ORG_ID")
	private String orgId; // 所属机构ID

	@TableField(value = "ROLE_ID")
	private String roleId; // 所属角色ID

	@TableField(value = "STATUS")
	private String status; // 用户状态

	@TableField(value = "SORT_NO")
	private Integer sortNo; // 排序号

	@TableField(value = "REMARK")
	private String remark; // 备注


	@TableField(exist = false)
	private String roleName;

	@TableField(exist = false)
	private String orgName;

	@TableField(exist = false)
	private String orgLevelCode;

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getHeadFileId() {
		return headFileId;
	}

	public void setHeadFileId(String headFileId) {
		this.headFileId = headFileId;
	}

	public String getOrgId() {
		return this.orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getSortNo() {
		return this.sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgLevelCode() {
		return orgLevelCode;
	}

	public void setOrgLevelCode(String orgLevelCode) {
		this.orgLevelCode = orgLevelCode;
	}

}
